<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>主页</title>
</head>
<body>

<form style="text-align: center" action="${pageContext.request.contextPath}/user/save"
      method="post">

    食物名称:<input type="text" name="name"
                placeholder="食物名字"> <br>

    食物价格:<input type="number" name="price"
                placeholder="价格"><br>

    食物描述:<input type="text" name="info"
                placeholder="食物描述"> <br>



    <button type="submit" >提交</button>

</form>



</body>
</html>